package llama.ctrl;

import llama.core.ChatModelLocator;
import llama.core.Contact;
import llama.util.SystemMessage;

public class ShowContactInfoCtrl implements IController {
	private Contact contact;
	
	@Override
	public void execute() {
		ChatModelLocator.getChatModel().send(new SystemMessage(contact, SystemMessage.Type.SHOW_CONTACT_INFO));
	}
	
	public void setContact(final Contact contact) {
		this.contact = contact;
	}
}
